package com.dabai.iot.core.tsl;

import com.alibaba.fastjson2.annotation.JSONField;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * 物模型模块
 *
 * @author kev1n
 */
@Data
public class TslBlock {
    @JSONField(ordinal = 1)
    private String blockIdentifier;

    @JSONField(ordinal = 2)
    private String blockName;

    @JSONField(ordinal = 3)
    private List<TslProperty> properties = new ArrayList<>();

    @JSONField(ordinal = 4)
    private List<TslCommand> commands = new ArrayList<>();
}
